﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Exam.Core;

public partial class Admin_AdminMasterPage : System.Web.UI.MasterPage {
    protected string getLeftMenuClass(string str) {
        string result = "item";
        string url = Request.RawUrl.ToLower();
        if (url.Substring(url.LastIndexOf('/')).Contains(str)) {
            result = "currentLeft";
        }
        ;
        return result;
    }

    protected string url() {
        return Utils.AbsoluteWebRoot + "images/";
    }
}
